fixed message formatting on search page