fix crash on 10.9.x