master: fixed argument passing bug