fixed bug introduced in examples/simple....