fixed using variable names instead of get methods

Fixes #30