Revert "removing all error in modules"

This reverts commit 1b209ce7c4732bc471c86c0a779f246758abd59e.