fix charts draw