fixing parser