fixed the Nearly Disastrous Last Minute Bug just in time