fixed delete function
deleted unecessary files