Stopped it from crashing if no message was found