fix modules and rendering