Fixed hello example
Fixed warnings