modified code style with lint