no locking in main thread (workaround)