fixed some mismatch on function arguments