Small fix to prevent code from crashing entirely. Fucking bugs still do not do what they are supposed to do, however.