error line 3: bad sequence