fix arguments passing