prepare repush