fixing desiredPosition is None case