fix ids
fix types
fix multiple input
fix types