empty bracket validation