fix a bug when query param q is not a valid value in author.view page