if so you are over watering...let them dry out some!

in the mean time add 30ml/gal neem oil when you do water every 3rd watering for about 30 days and that will help knock them down. the neem oil will cause the gnat larvea to be sterile and not be able to reproduce. you can also get some yellow sticky traps to catch a few!