solved the empty qualitiy problem