fix bug in Sequential.hpp