fixed clean sql need to clean up