fix primitive type hint