fix bug in internal settings