Minor crash fix