fix issues with required modules