finally got rid of the empty mark read bug