fixed HMR bug
1.3.6