fixing extra currly bracket