added missing argument check for seq