fixed sample formating