removed unused version > 40 check