- db query when WHERE have complex query
- fix for controller param equal 0 (empty changed to array_key_exists)
- fix for PROD mode again