fixing module problems