Fix setting problem