make compatible with dnn < 7.1