fixed a few bugs
fixed a few bugs

fredwang00/primesieve,kimwalisch/primesieve,ZahidDev/primesieve,tempbottle/primesieve,fredwang00/primesieve,kimwalisch/primesieve,ZahidDev/primesieve,ZahidDev/primesieve,kimwalisch/primesieve,anatoliyrazin/primesieve,tempbottle/primesieve,tempbottle/primesieve,anatoliyrazin/primesieve,fredwang00/primesieve,anatoliyrazin/primesieve