another small fix to prevent an exception