gemrc clean up.