amend code style