fixing jsdoc error