fixed wrong error search string