fixed bug with continue input