fixed code style in on example