remove unneeded directive