small fix

so it doesn't crash