fixed a bug in arginnames that caused it to return a 0 when there were mulitple input and outputs