debugging issue when arguments empty