Fix on/off load error; fix square brackets escapes