fix for 3.0 detection