fix issue 7

wrong names for array parameters