another fix to resume