fix quality flaws.