gem file correction