changed find method status code when result is empty