Added bug fix patch for PSOPT