Remove useless parts