remove double brackets from examples