compability fixes for jaylinski/hamengine 2.x