bug: prettySeconds wasn't being defined correctly