fix: redundant code has been fixed.