public function getParam($key, $default = null)
    {
        $param = parent::getParam($key, $default);

        if (is_string($param)) {
            return trim($param);
        }

        return $param;
    }