Fixed some errors in user show page and note search page