support auto completing bracket