fixed documentation

Fixed examples.