fix missing bracket issue