made a few methods more rhel7 friendly