fix quality violations