fixed shit db error, but still confuse