fix incorrect Nullable annotation