fixed small parsing bug