fixed typo bug causing referenceError cp while linting