fix hide_deleted