fixed #139, accessing dynamic members from static contexts
more fix for #139