Fixed resume logic