fixed module reloading bug in development