Fix code samples
Version 1.0.1