graphing bug fixes