fixing modal chart