fix warning abount comment inside comment
fix missing type definitions