tab and mark handling have fixed