pat: fixed typo
pat: removed console log