fix charts diagram