fixed issue with inheriting outside constructors
version 0.0.5