fixed numeric processes
fixed oct num, added bin num
escape ']' and remove '$'