Fixed the SmartBoat crash