fix reading quality param