a few ez compability fixes