resolving the strange bracket issue