fixed inheritence issue
Merge pull request #1 from felgenhm/master

fixed inheritence issue. AW YEAH!