fix stdclass err