fixed the chart overflow and the @close_form tag