fix quality of compression