strip colors before logging