minor cleaninp-up in genspace code