fixed the problem and deleted unused file

fixed the problem and deleted unused file