Fixed to get exception "mark/reset not supported"