clean database all working