quick fix for formatted string printer