add status check condition for reset clause