clean up chart modes