minor crash fix