change regular express method and fix receive data bugs