fix open id issue on php5.4