Fix some resume errors