revert changes to directive