ticket:0 Fixed passed function args