bug fixes for lxplus with matplotlib, bug fix in sixdb