clean unnecessary codes

clean unnecessary codes