fix style
safety code