Fixing parser token replacement according to instructor.