race condition on position log is causing crashes