minor change to allow running on pre 6.1