fixing sample formatting