fixed \n in strings
rubocop complexity adaption