fix bugs introduced earlier
Access variables with properties