fix https://github.com/sagemathinc/cocalc/issues/2009
fix https://github.com/sagemathinc/cocalc/issues/2009

DrXyzzy/smc,sagemathinc/smc,tscholl2/smc,DrXyzzy/smc,sagemathinc/smc,tscholl2/smc,DrXyzzy/smc,sagemathinc/smc,tscholl2/smc,tscholl2/smc,tscholl2/smc,DrXyzzy/smc,sagemathinc/smc