adapt units to string config