Fixed it so it accepts brackets and doesn't mess up and a little bug