fixed run-bug in AbstractCommand