clean up label sql