improved module reloading