fixed function call first parameter

Signed-off-by: ekennedy <evkennedy@upei.ca>