fixed incorrect sequence factory bug