shutup non-static function error