Fixing database issue. The state needs to be lifted every other time