got rid of annoying directive repeat