revert changes of yaml