corrected ubuntu detection