fixed a bracket issue