fixed typo on def snippet