remove unnecessary guard