bug fixed in parsing