fix another nil crash