Remove useless lines in the end.