fix a package issue when converting a notebook into latex