set after load to avoid race condition