fixed the same bug in makeWithBrackets