Removed extra ] in bind query