Aftermarket sending unit not the same

All good info. I have cleaned and checked the ground. You are right. Why will it work outside and not inside. I did bend the contact through the hole to make better contact. But will not work on inside the tank. I guess I will pull it apart and reclean and recheck everything. If I get it working. I will post to tell what I found.