fixing settings refs to mysql