What controls the C iv line profile in active galactic nuclei