fix 4inch detection