Fix spam and crashes.