cleanup based on building for el6