Fixed on suspend bug