remove not used statments