Fixes a NullPointerException.