fix resume bug and added status reporting