support systemEx and system
fix bugs
bugfix: systemEx: return correct return value
bugfix: systemEx returns correct return value