add catalog search functions
fix search ctrl