correcting jsdocs