Fix crash on 1.9.3+