minor fix for running examples