fixing bug for refresh list