Removing extra curly bracket