fix for parser method