Fixed error on accessing not existing member var

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>