fixing broken string format