cleaned up widged_cmd