remove unused modules from require section