make gem more compliant