these locks are still needed
fix race conditions and make reports work again