fixed a } issue