fixes #8 example app doesn't hang around