Aftermarket sending unit not the same

Hi guys my aftermarket sending unit has not the same length as my original sending unit and my 72 fuel tank shows full then even its just half?

Any ideas how i can fix this?

Thx Peter