fix pending bracket