Parser fix: parser is undefined