fix for the crash-after-2-hours-bug yet again, actually tested this time so it should really work :V