deleting useless files causing error