fix rubocop warning 'EmptyLinesAroundAccessModifier'