fixing the jsdoc annotations