fixing settings refs