fix accident exit bug in flexible_vector.pyx