replace an obsolete function
prepare for YJCM 2013 package