Unsimplified uninstall_module
Fixed syntax errors