use q to finish post search function