bug in setting fixed