add spaces to let recognize codes