bug fix for mark_read boolean