Quality bugfix

initializes $quality (=NULL) in case of $actions['quality'] is not set