Update checkpoint.php

This was a major issue, now been fixed.