fix style
alter implementation