Don't you need a null check here?