fixed another small bug in basismaker.sh caused by modified pipeline