Removing extra curly brace