Top fix for the 510, done that one myself on a different older tank.
But that will not fix the leaky tank, it only stops it coming out the 510. It will now come out the airflow holes instead, so you still need to find out why the tank leaks, be it a dodgy seal, lack of power or something else. It could be just the nature of the beast, as some tanks do inherently leak.