fixed module loading in server