fixed refactored search param