fixed typo in code