Fixed bugs connected with rough string processing