gem clean-up