refactored IfRepost
cleaning specs
cleaning specs