even changing the substrate probably will not get rid of them,
only way to guarantee it would be to empty the tank and let everything dry out for a few weeks,
also, there is a lot of beneficial bacteria in the substrate, you would be removing all of that.....not good....doing so may cause your...