Fixed rubocop false positives