minor fixes for smartparam