Problems with illegal tokens