The air in the pump basket is probably due to a bad lid gasket or just debris on the gasket. Try removing the pump lid, cleaning the gasket and seat and add a little pool lube to the gasket. That should eliminate the air in the pump basket. If not, you may need a new gasket. Other places air can leak are the pump drain plugs and valves.