fix to sort out a numpy mess thing for weights and delays