A little null checking.