prevent edge case where next to last frame fails and secs goes bonkers