fixing diagram