fix chart appearing