open db error fixed