Fix error in parsing