make param functions thread-safe