removing usused statement