namespace fix for samples