Solve error in bracktes