fixed a slight issue with the quality enum