fix preset setting onload