Improved VM3 detection