improve processing of excepts for "Gramps" project