fix style and add definition