fixed notice when result is empty