some extra checks