cleaning out old code causing issues on rhel