fixed height issue with generated graphs