correcting code and deleting not nided files