fixing doc examples
doc examples fixed