actually fix issue #29

also fix some style issues when charts are reset