restore conditional