mysql strings cleanup