added fail message to search