fixed charts re-initialize