fixup namespace declaration for sample directory