moved string format to common