Changed pe_mode from 1 to 2