Fix examples behavior