better string detection, value cleaning in place lookup