Added clearing of temporary strings