Delete some unnecessary code