cleanup ruby syntax around strings