fix api optional type in individual typo