hook parser function / clean warnings