remove unecessary data directive