Fix for the parameter passing issue.