fix the order of bind arguments. Issue #13