Fixing bash output