Fixed resume behavior.