added check that modules must exist