Patch missing beginning of main block mistake.