removing unneccesarry artifacts