fix bug with internal settings