fixed incorrectly replaced brackets