fixed to return zero message for search