fixed something with charts