tweaked charts layout to fix bug