fixed example issue, not being able to run multiple times