remove directrives fron form save function