better error message for post searches