Fixed undefined argument passing