fix search path bug