Fixing error in number of expected parameters