chart refresh bug fixed