fix for new in examples