added after_parse callback