Hotspot variable on login/logout with "-" are not working and same for ppp

Hello mirkotikers
i ve a problem with the variables which contain “-” for script on login/logout in hotspot or on-up/down for ppp
they are not working, for example
$user $username $address $interface are working fine
but $mac-address $uptime-secs $bytes-in $bytes-out $bytes-total $packets-in $packets-out $packets-total are not working at all. this is a simple configuration to show that:
i made the following profile :
ip hotspot user profile add name=Sinan on-login=“/log error message="$user $username $address $interface $mac-address"\r
\n\r
\n” on-logout=“/log error message="$user $username $address $interface $cause $mac-address $uptime-secs $byt
es-in $bytes-out $bytes-total $packets-in $packets-out $packets-total"” rate-limit=256K/512K shared-users=3
transparent-proxy=yes

and i got the following results (for login/logout) in the logs:
07:38:19 script,error sinan sinan 192.168.92.20 wlan1 -address
07:38:26 script,error sinan sinan 192.168.92.20 wlan1 user request -address -secs -in -out -total -in -out -total

same for ppp …

what is the problem does anyone have an idea about that or face the same problem ??
im working on RB2011UiAS-2HnD v6.35.2

You need to use quotes for these variables. Correct syntax:

$"uptime-secs"

Thanx alot …