fix args and debug