sounds like fungal gnats, i had them once and the spray i use is an organic spray containing pyrethins, printed on the bottle and i even heard it on the grow report that its safe to use up to days before harvest.