fixed warnings in example file