Removing some duplicate code (typo)