delete files and bug fixes