Add support for old i-bem version. fixed #1