fix state lock
fix state lock