fix hide_deleted option