fixed crash on invalid booking