fixes so charts now works