Deleted unnecessary codes

Just take out some unnecessary codes