comply with thread-safety checks