fix bug for seajs