move protection specs
avoid circular dependency with if condition