added parser exception guard