code cleanup
Merge remote-tracking branch 'origin/develop' into develop
fix for infinite checkpoint resurrection