fixed a bug with custom search term forwarding