Adding rubocop auto correct
Making auto correct function ST2 compatible
Fixed method call