fix suspend / resume