removed  unused files  and fixed directive