fix some bug for impactjs

Signed-off-by: 3dseals <lional.king@gmail.com>