fixed warnings/bugs when generating yuidoc documentation