troubleshooting the null object