fixes in sample