support none keyword
clean up
wrong module name exception
Handle module input/output exception
handle emit exceptions, empty outputs