fixing parts that use astring