fix: removed duplicate code that was accidentally committed