lame error in sample