fixing bracket order