fix panic when passing no args