Fixed resume bug on client