fixed parser in case there are missing wf's