remove inline keyword from non-inline function