Fix get types issue