fix a missed curly bracket