fixed compatibility with current ofBase types.
Merge pull request #13 from memo/fix-basecompatibility

fixed compatibility with current ofBase types.