fixed bug for "gets with backtracking over fixed string"