fixed rubocop issues, allow result of 0 - 0