remove ugly parts