remove manifest checking
clean up module code