CUI setting a linetype

I have added a command in draftsight as below

(=Enter);-LINETYPE;A;CENTER;;-lweight;0.18;-color;magenta;

 

When I run this through the toolbar i get an error 

LineStyle "CENTER " not found in definition file.

When I manually input at the command line it works

There must be something wrong with the syntax  but I cannot work it out tried eveything does anyone have any ideas. I have checked that the linetype CENTER is loaded .

 

Stella

 

 

below is the results from the text page

-LINESTYLE

Active LineStyle: CENTER2

Options: ? to list, Activate, Create or LoadSpecify option» _Activate

Default: CENTER2Options: ? to list orSpecify style» CENTER 

LineStyle "CENTER " not found in definition file.

You can use the "Load" option to load it from another file.

Active LineStyle: CENTER2

Options: ? to list, Activate, Create or LoadSpecify option»

: -lweight

-LINEWEIGHT

Active LineWeight: 0.18 mm

Options: ? to list orSpecify active lineweight» 0.18

: -color

-LINECOLOR

Default: 6 (magenta)Options: RGB value orSpecify color» magenta